﻿
@{
    Layout = null;
}
@*处理状态*@
<script src="~/Scripts/MGJJS/FleeGoods/TransientState.js"></script>
<div class="mtlr15">
    <div class="row">
        <div class="col-lg-4 col-md-4 col-sm-4 col-lg-offset-8 col-md-offset-8 col-sm-offset-8">
            <div class="input-group">
                <input id="Key" type="text" class="form-control" placeholder="产品名称" onkeydown="if (event.keyCode == 13) { $.MGJ.TransientState.Ajax_PageList(1); }">
                <span class="input-group-addon" onclick="$.MGJ.TransientState.Ajax_PageList(1);">
                    <span class="glyphicon glyphicon-search"></span>
                </span>
            </div>
        </div>
    </div>
    <div id="Table">
        <div class="overflow">
            <table class="table table-hover table-bordered">
                <thead>
                    <tr>
                        <th width="15"><input type="checkbox" class="AllClickCheckbox"></th>
                        <th>处理事项</th>
                        <th>所属机构</th>
                        @*<th>品牌名称</th>*@
                        <th>产品名称</th>
                        <th>产品编码</th>
                        <th>调出片区</th>
                        <th>调出经销商</th>
                        <th>调入片区</th>
                        <th>调入经销商</th>
                        <th>物流码等级</th>
                        <th>备注</th>
                        <th>状态</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody id="tableList" style="display:none;" binding="{'pageId':'ShoppingPager','pageCallback':'$.MGJ.TransientState.Ajax_PageList','emptyHtml':OMID_EmptyHtml}">
                    <tr>
                        <td width="15"><input type="checkbox" class="AllClickChild"></td>
                        <td binding="{'text':'TypeText'}"> </td>
                        <td binding="{'text':'EnterpriseName','title':'EnterpriseName'}"></td>
                        @*<td binding="{'text':'BrandId'}"></td>*@
                        <td binding="{'text':'ProductName'}"></td>
                        <td binding="{'text':'ProductCode'}"></td>
                        <td binding="{'text':'FromAreaName'}"></td>
                        <td binding="{'text':'FromDisName'}"></td>
                        <td binding="{'text':'GoAreaName'}"></td>
                        <td binding="{'text':'GoDisName'}"> </td>
                        <td binding="{'text':'Levv'}"> </td>
                        <td binding="{'text':'Remark'}"> </td>
                        <td binding="{'text':'StatusText'}"> </td>
                        <td>
                            <a class="look" binding="{'FormCode':'FormCode','Type':'Type','ID':'ID'}" onclick=" $.MGJ.TransientState.Dialog_PendingAllot(this)">查看</a>
                            <a class="chuli" binding="{'FormCode':'FormCode','Type':'Type','ID':'ID'}" onclick=" $.MGJ.TransientState.Dialog_PendingAllot(this)">待处理</a>
                        </td>
                </tbody>
            </table>
        </div>
        <div id="ShoppingPager"></div>
    </div>
</div>

<script>
    var ColspanNub = $(".table.table-hover.table-bordered").find("tr").children("td").length
    window.OMID_EmptyHtml = '<tr><td colspan="' + ColspanNub + '"><p class="no-result">无符合条件的数据结果</p></td></tr>';

    $(function () {
        $.MGJ.TransientState.Ajax_PageList(1);
         
    });
</script>

